package net.zjitc.lib;

public class MyClass {
    public static void main(String[] args) {
        Thread curr;
        int num = 7;
        curr = Thread.currentThread();
        curr.setPriority(num);
        System.out.println("Thread:" + curr);
        System.out.println("Thread名:" + curr.getName());
        System.out.println("优先级:" + curr.getPriority());
//        System.out.println(3 | 5);
    }
}
